﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Manage/MasterPage.master" AutoEventWireup="true" CodeFile="Golbal_ChangePassword.aspx.cs" Inherits="Manage_Golbal_ChangePassword" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<style type="text/css">
    #new_add_table{ width:99%;border-collapse:collapse; empty-cells:show; margin-left:8px; margin-top:10px; margin-bottom:20px;}
    #new_add_table tr{ height:35px;background:#f6f6f6;}
    #new_add_table tr td{ border:#d8d8d8 1px solid; vertical-align:middle;}
    #new_add_table tr .td1{ width:110px; text-align:right; padding-right:15px;}
    #new_add_table tr .td2{ padding:15px;}
    #new_add_table tr .td2 .tinput{ height:25px; width:300px; font-size:18px;}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table id="new_add_table">
   <tr style=" height:25px; background:url('images/tt_x.gif') repeat-x;">
     <td colspan="2" style=" padding-left:8px; ">密码修改
     </td>
   </tr>
   <tr>
     <td class="td1">用户名: 
     </td>
     <td class="td2">
         <asp:TextBox ID="AdminName" runat="server" CssClass="tinput"></asp:TextBox>
         <asp:RequiredFieldValidator ControlToValidate="AdminName" ID="RequiredFieldValidator1" runat="server" ErrorMessage="请输入管理员姓名"></asp:RequiredFieldValidator>
                     <asp:CustomValidator ID="CustomValidator1" ControlToValidate="AdminName" OnServerValidate="CheckTrueName" runat="server" ErrorMessage="用户名不正确"></asp:CustomValidator>
     </td>
   </tr>
   <tr>
     <td class="td1">原密码: 
     </td>
     <td class="td2">
         <asp:TextBox ID="OldPassWord" runat="server" CssClass="tinput"></asp:TextBox>
          <asp:RequiredFieldValidator ID="RequiredFieldValidator2" ControlToValidate="OldPassWord" runat="server" ErrorMessage="请输入原密码"></asp:RequiredFieldValidator>
                     <asp:CustomValidator ID="CustomValidator2" ControlToValidate="OldPassWord" OnServerValidate="CheckPassWord" runat="server" ErrorMessage="原密码不正确"></asp:CustomValidator>
     </td>
   </tr>
   <tr>
     <td class="td1">新密码: 
     </td>
     <td class="td2">
         <asp:TextBox ID="NewPassWord" runat="server" CssClass="tinput"></asp:TextBox>
          <asp:RequiredFieldValidator ID="RequiredFieldValidator3" ControlToValidate="NewPassWord" runat="server" ErrorMessage="请输入新密码"></asp:RequiredFieldValidator>
     </td>
   </tr>
   <tr>
     <td class="td1">确认密码: 
     </td>
     <td class="td2">
         <asp:TextBox ID="AgainPassWord" runat="server" CssClass="tinput"></asp:TextBox>
          <asp:CompareValidator ID="CompareValidator1" ControlToCompare="AgainPassWord" ControlToValidate="NewPassWord" runat="server" ErrorMessage="新密码和确认密码不一致"></asp:CompareValidator>
     </td>
   </tr>
   <tr>
     <td class="td1">
     </td>
     <td class="td2">
          <asp:Button ID="Submit" runat="server" Text="提交修改" onclick="Submit_Click" />
          <input id="Reset1" type="reset" value="重置" style=" margin-left:80px;" />
     </td>
   </tr>
</table>
</asp:Content>

